Exec
Docker exec operations using the owning DockerClient.
Result-returning methods report daemon HTTP errors as ErrorResponse. Transport/decoding failures and cancellation can throw. Live flows report request failures during collection.
Functions
Starts an existing exec instance using the supplied configuration and discards response output. Set config.detach=true for detached execution; use startInteractive when output is needed. Successful start does not establish the command exit status; inspect it with getInfo.
Starts a previously created exec instance and returns an independently owned ExecSession. Match the TTY mode used at creation; the overload without tty uses true. Collect one output flow once. Use incomingChunks for terminal bytes and incremental UTF-8 decoding. Close the session when finished, including when output is never collected.